<?php
/*
 * Created on 31 mai 2011
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
 require_once("/var/www/chemistry-repository/chemistry-repository/trunk/main/webapp/Model/PajaxRemote.class.php");
 
 class Test extends PajaxRemote{
 	
 	private $attribut=5;
 	
	function __Test($arg){
		$this->attribut=$arg;
	} 
 	
 	
 	public function getAttribute(){
 		return $this->attribut;
 	}
 	public function add($a,$b){
 		return $a+$b*$this->attribut;
 	}
 	
 	public function substract($a,$b){
 		return $a-$b;
 	}
 	
 }
 
?>